package com.centit.framework.ip.businessdata.dao;

import com.centit.framework.ip.businessdata.po.InterfaceLog;
import com.centit.framework.core.dao.CodeBook;
import com.centit.framework.jdbc.dao.BaseDaoImpl;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;


/**
 * InterfaceLogDao  Repository.
 * create by scaffold 2018-05-22
 *
 * @author guo_jh
 * T_INTERFACE_LOG接口调用日志
 */

@Repository
public class InterfaceLogDao extends BaseDaoImpl<InterfaceLog, String> {

    public static final Log log = LogFactory.getLog(InterfaceLogDao.class);

    @Override
    public Map<String, String> getFilterField() {
        if (filterField == null) {
            filterField = new HashMap<String, String>();

            filterField.put("recordid", CodeBook.EQUAL_HQL_ID);


            filterField.put("systemflag", CodeBook.EQUAL_HQL_ID);

            filterField.put("methodflag", CodeBook.EQUAL_HQL_ID);

            filterField.put("resultflag", CodeBook.EQUAL_HQL_ID);

            filterField.put("creater", CodeBook.EQUAL_HQL_ID);

            filterField.put("createTime", CodeBook.EQUAL_HQL_ID);

            filterField.put("response", CodeBook.EQUAL_HQL_ID);

            filterField.put("ywflag", CodeBook.EQUAL_HQL_ID);

        }
        return filterField;
    }
}
